File
@Serializable
@SerialName(value = "file" )
File content — payload data the model produced or that's attached to a turn. Per historical parity gap #38, mirrors v6's richer FilePart.data. Currently base64 is the only data shape; a URL-shaped variant lives in Source. filename is the user-facing label (Anthropic models produce it for artifact-like outputs; v6 has a dedicated slot for it).
Constructors
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Remote (or data) URL for the file content, when not provided inline as base64. Mirrors v6's data: DataContent | URL. Resolve with convertToLanguageModelPrompt for providers that don't accept URLs.